<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.bundle.min.js"></script>
    <title>问卷调查</title>
</head>
<body>
<div class="container">
    <form action="" method="post">
        {% csrf_token %}
        <div class="my-5 bg-primary p-4 text-white d-flex justify-content-center">
            <h1>问卷调查</h1>
        </div>
        <div class="my-4">
            <p class="text-warning">{{ msg }}</p>
        </div>
        <div class="mb-3 mt-3">
            <text for="visit_code" class="form-label m-3">请输入访问码:</text>
            <input type="number" class="form-control m-3" id="visit_code" placeholder="输入访问码" name="visit_code">
            <button type="submit" class="btn btn-primary m-3 ps-5 pe-5">确认</button>
        </div>
    </form>
</div>
</body>
</html>